import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import  'bootstrap';
import SocketIO from "socket.io-client";
import VueSocketIO from "vue-socket.io";
import { MESSAGE_TYPE, vueBaberrage } from "vue-baberrage";
import axios from 'axios'
import qs from 'qs'
import electron from 'electron'


Vue.prototype.$ajax=axios
Vue.prototype.$qs=qs

Vue.use(ElementUI,vueBaberrage,
  Vue.use(new VueSocketIO({
    debug: true,
    connection: SocketIO('http://127.0.0.1:3333/') //xxx填后台给的socket地址，端口号根据实际后台端口写
  }))

  )


Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
